package com.yunxi.service.localService.sto;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.sto.DailyReport;
import com.yunxi.sto.pojo.DailyReportVO;
import com.yunxi.sto.pojo.MonthlyReportVO;
import com.yunxi.sto.pojo.YearReportVO;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * 基础报告日报表 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-09-20
 */
public interface DailyReportService extends IServicePlus<DailyReport> {

    Long monthTargetAmount(String queryDate);

    Long monthTargetOrderAmount(String queryDate);

    PageInfo<YearReportVO> yearList3(YearReportVO yearReportVO, Integer pageNum, Integer pageSize);

    void monthCalcMain(MonthlyReportVO curYear) throws SQLException;

    void yearCalcMain(YearReportVO curYear) throws SQLException;

    PageInfo<MonthlyReportVO> monthPage3(MonthlyReportVO monthlyReportVO, Integer pageNum, Integer pageSize);

    PageInfo<DailyReportVO> dayPage(DailyReportVO dailyReportVO, Integer pageNum, Integer pageSize);

    void dayCalcMain(DailyReportVO dailyReportVO) throws SQLException;
}
